{block #content}

    <h1>{$title}</h1>
    <p>{!_"Configure system modules. Visible are only modules you can manage."}</p>
    <p>
        <a href="{link clearConfigs!}">{_"Clear all config files"} ( ~ rm app/libs/Albireo/configs/* )</a><br />
        ({_"Use this when you drop the database and you want to install all the modules again"})
    </p>
    {foreach $modules as $fullName => $module}
    
        <hr />
        <div class="module">
            <h2>
                {$module["name"]}
            </h2>
            <div class="active">
                <p>{$module["description"]}</p>
                <strong>
                    {*
                    {!_"Installed:"}
                    {if $module["installed"]}
                        {_"Yes"} <br />
                        <a href="{link ModulesManagement:uninstall $fullName}" title="{_'Uninstall module'}">{_"Uninstall module"}</a>
                    {else}
                        {_"No"} <br />
                        <a href="{link ModulesManagement:select $fullName}" title="{_'Install module'}">{_"Install module"}</a>
                    {/if}
                    *}
                    <a href="{link ModulesManagement:select $fullName}" title='{_"Manage " . $module["name"]}'>{_'Manage ' . $module['name']}</a>
                </strong>
                
                {*
                {if !empty($module['active'])}
                    | <a href='{link ":".$managementPresenter }' title="{!_'Manage'}">{!_"Manage"}</a>
                    {if $managementPresenter=="Kernel:Modules:DatabaseManagement:default"} |
                        <a href='{link "Console:default"}' title="{!_'Console'}">{!_"Console"}</a>
                    {/if}
                {/if}
                *}
                        
            </div>
            <div class="activate">
                
            </div>

        </div>
    {/foreach}
  
{/block}